
package com.shop.cloud.mall.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shop.cloud.mall.common.entity.ShopInfo;
import org.apache.ibatis.annotations.Param;

/**
 * 店铺表
 *
 * @author 
 * @date 2020-05-15 13:35:18
 */
public interface ShopInfoMapper extends BaseMapper<ShopInfo> {
    IPage<ShopInfo> selectPage1(IPage<ShopInfo> page, @Param("query") ShopInfo shopInfo);

    /**
     *关闭所有未缴纳保证金的店铺
     * @return
     */
    int updateByDeposit();
}
